<?php

use Hyperf\HttpServer\Router\Router;


Router::get('/jpush/send', [\App\Controller\Test::class, 'jpushSend'], ['operation' => '激光推送测试']);
Router::get('/websocket/send', [\App\Controller\Test::class, 'wsSend'], ['operation' => 'websocket推送测试']);

Router::addGroup('/api/v1/public', function () {

    // Router::get('/protocol/privacy', [\App\Controller\AppManage::class, 'protocolPrivacy'], ['operation' => '隐私协议']);
    // Router::get('/protocol/user', [\App\Controller\AppManage::class, 'protocolUser'], ['operation' => '用户协议']);
    // Router::get('/protocol/pay', [\App\Controller\AppManage::class, 'protocolPay'], ['operation' => '销售协议']);

}, [
    'middleware' => [
    ],
]);
